package com.whty.activemq.recive;

//import org.springframework.jms.annotation.JmsListener;
//import org.springframework.stereotype.Component;

/**
 * @author mario
 * 持久订阅
 */
//@Component
public class Topic2Receiver {

//	    @JmsListener(destination = "topicTest", containerFactory = "jmsTopicListenerContainerFactory2")
//	    public void receive(String msg) {
//	        System.out.println("这是持久订阅: " + msg);
//	    }

}
